<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>knet: E:/knet-git/knet/knet/timer.c 文件参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">knet
   &#160;<span id="projectnumber">1.4.5</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.9.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>首页</span></a></li>
      <li><a href="modules.html"><span>模块</span></a></li>
      <li><a href="annotated.html"><span>结构体</span></a></li>
      <li class="current"><a href="files.html"><span>文件</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="搜索" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>文件列表</span></a></li>
      <li><a href="globals.html"><span>全局定义</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_885cc87fac2d91e269af0a5a959fa5f6.html">E:</a></li><li class="navelem"><a class="el" href="dir_4e74998c9a9305a116abc25fcf9a1edb.html">knet-git</a></li><li class="navelem"><a class="el" href="dir_a1c045b39f32066568ae964b52db514f.html">knet</a></li><li class="navelem"><a class="el" href="dir_f76d03789f0b12416cfffea59e2ed47d.html">knet</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">结构体</a> &#124;
<a href="#func-members">函数</a>  </div>
  <div class="headertitle">
<div class="title">timer.c 文件参考</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="a00103_source.html">timer.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="a00073_source.html">list.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="a00090_source.html">misc.h</a>&quot;</code><br />
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
结构体</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00026.html">_ktimer_t</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00025.html">_ktimer_loop_t</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
函数</h2></td></tr>
<tr class="memitem:a0da724208f00bf918c6a211978987564"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00102_a0da724208f00bf918c6a211978987564.html#a0da724208f00bf918c6a211978987564">_ktimer_loop_select_slot</a> (<a class="el" href="a00056_a024af2aa29615e7a811ea6c45438157d.html#a024af2aa29615e7a811ea6c45438157d">ktimer_loop_t</a> *ktimer_loop, time_t ms)</td></tr>
<tr class="separator:a0da724208f00bf918c6a211978987564"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a24405f7d3c813580ab995e6dd8d35871"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00102_a24405f7d3c813580ab995e6dd8d35871.html#a24405f7d3c813580ab995e6dd8d35871">_ktimer_loop_add_timer</a> (<a class="el" href="a00056_a024af2aa29615e7a811ea6c45438157d.html#a024af2aa29615e7a811ea6c45438157d">ktimer_loop_t</a> *ktimer_loop, <a class="el" href="a00056_a846172ea4e8a86449eca41a3d8e074b7.html#a846172ea4e8a86449eca41a3d8e074b7">ktimer_t</a> *timer)</td></tr>
<tr class="separator:a24405f7d3c813580ab995e6dd8d35871"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a41c9ade9ebc11e8b1fc4f28260bc3e15"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00102_a41c9ade9ebc11e8b1fc4f28260bc3e15.html#a41c9ade9ebc11e8b1fc4f28260bc3e15">_ktimer_loop_add_ktimer_node</a> (<a class="el" href="a00056_a024af2aa29615e7a811ea6c45438157d.html#a024af2aa29615e7a811ea6c45438157d">ktimer_loop_t</a> *ktimer_loop, <a class="el" href="a00056_ac701f00a0851c97467ae35c382b316b7.html#ac701f00a0851c97467ae35c382b316b7">kdlist_node_t</a> *node, time_t ms)</td></tr>
<tr class="separator:a41c9ade9ebc11e8b1fc4f28260bc3e15"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aac86769c38adf7cde5ab3649d2f7f906"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00056_ac701f00a0851c97467ae35c382b316b7.html#ac701f00a0851c97467ae35c382b316b7">kdlist_node_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00102_aac86769c38adf7cde5ab3649d2f7f906.html#aac86769c38adf7cde5ab3649d2f7f906">_ktimer_loop_remove_timer</a> (<a class="el" href="a00056_a846172ea4e8a86449eca41a3d8e074b7.html#a846172ea4e8a86449eca41a3d8e074b7">ktimer_t</a> *timer)</td></tr>
<tr class="separator:aac86769c38adf7cde5ab3649d2f7f906"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a16dfe04af38883e142c0a6583c1ea664"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00102_a16dfe04af38883e142c0a6583c1ea664.html#a16dfe04af38883e142c0a6583c1ea664">_ktimer_check_stop</a> (<a class="el" href="a00056_a846172ea4e8a86449eca41a3d8e074b7.html#a846172ea4e8a86449eca41a3d8e074b7">ktimer_t</a> *timer)</td></tr>
<tr class="separator:a16dfe04af38883e142c0a6583c1ea664"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaef96e7c368db456236a2121e3d75c49c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00056_a024af2aa29615e7a811ea6c45438157d.html#a024af2aa29615e7a811ea6c45438157d">ktimer_loop_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00122_gaef96e7c368db456236a2121e3d75c49c.html#gaef96e7c368db456236a2121e3d75c49c">ktimer_loop_create</a> (time_t freq, int slot)</td></tr>
<tr class="memdesc:gaef96e7c368db456236a2121e3d75c49c"><td class="mdescLeft">&#160;</td><td class="mdescRight">创建定时器循环  <a href="a00122_gaef96e7c368db456236a2121e3d75c49c.html#gaef96e7c368db456236a2121e3d75c49c">更多...</a><br /></td></tr>
<tr class="separator:gaef96e7c368db456236a2121e3d75c49c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad3dafe93f5b45424bd5983ef0c163687"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00122_gad3dafe93f5b45424bd5983ef0c163687.html#gad3dafe93f5b45424bd5983ef0c163687">ktimer_loop_destroy</a> (<a class="el" href="a00056_a024af2aa29615e7a811ea6c45438157d.html#a024af2aa29615e7a811ea6c45438157d">ktimer_loop_t</a> *ktimer_loop)</td></tr>
<tr class="memdesc:gad3dafe93f5b45424bd5983ef0c163687"><td class="mdescLeft">&#160;</td><td class="mdescRight">销毁定时器循环  <a href="a00122_gad3dafe93f5b45424bd5983ef0c163687.html#gad3dafe93f5b45424bd5983ef0c163687">更多...</a><br /></td></tr>
<tr class="separator:gad3dafe93f5b45424bd5983ef0c163687"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5e31b2fc26af005e97b09804c5a98099"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00122_ga5e31b2fc26af005e97b09804c5a98099.html#ga5e31b2fc26af005e97b09804c5a98099">ktimer_loop_run</a> (<a class="el" href="a00056_a024af2aa29615e7a811ea6c45438157d.html#a024af2aa29615e7a811ea6c45438157d">ktimer_loop_t</a> *ktimer_loop)</td></tr>
<tr class="memdesc:ga5e31b2fc26af005e97b09804c5a98099"><td class="mdescLeft">&#160;</td><td class="mdescRight">循环检查定时器超时，调用ktimer_loop_exit()退出  <a href="a00122_ga5e31b2fc26af005e97b09804c5a98099.html#ga5e31b2fc26af005e97b09804c5a98099">更多...</a><br /></td></tr>
<tr class="separator:ga5e31b2fc26af005e97b09804c5a98099"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9d51f5fa5d9609d783eb4b0e05101079"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00122_ga9d51f5fa5d9609d783eb4b0e05101079.html#ga9d51f5fa5d9609d783eb4b0e05101079">ktimer_loop_exit</a> (<a class="el" href="a00056_a024af2aa29615e7a811ea6c45438157d.html#a024af2aa29615e7a811ea6c45438157d">ktimer_loop_t</a> *ktimer_loop)</td></tr>
<tr class="memdesc:ga9d51f5fa5d9609d783eb4b0e05101079"><td class="mdescLeft">&#160;</td><td class="mdescRight">退出ktimer_loop_run()  <a href="a00122_ga9d51f5fa5d9609d783eb4b0e05101079.html#ga9d51f5fa5d9609d783eb4b0e05101079">更多...</a><br /></td></tr>
<tr class="separator:ga9d51f5fa5d9609d783eb4b0e05101079"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf195cf4006bced494e99242c36ad36c0"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00122_gaf195cf4006bced494e99242c36ad36c0.html#gaf195cf4006bced494e99242c36ad36c0">ktimer_loop_run_once</a> (<a class="el" href="a00056_a024af2aa29615e7a811ea6c45438157d.html#a024af2aa29615e7a811ea6c45438157d">ktimer_loop_t</a> *ktimer_loop)</td></tr>
<tr class="memdesc:gaf195cf4006bced494e99242c36ad36c0"><td class="mdescLeft">&#160;</td><td class="mdescRight">检查定时器超时，如果超时调用定时器回调  <a href="a00122_gaf195cf4006bced494e99242c36ad36c0.html#gaf195cf4006bced494e99242c36ad36c0">更多...</a><br /></td></tr>
<tr class="separator:gaf195cf4006bced494e99242c36ad36c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad2c8d1024db56a0bef97ea47fb07a920"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00056_a024af2aa29615e7a811ea6c45438157d.html#a024af2aa29615e7a811ea6c45438157d">ktimer_loop_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00122_gad2c8d1024db56a0bef97ea47fb07a920.html#gad2c8d1024db56a0bef97ea47fb07a920">ktimer_get_loop</a> (<a class="el" href="a00056_a846172ea4e8a86449eca41a3d8e074b7.html#a846172ea4e8a86449eca41a3d8e074b7">ktimer_t</a> *timer)</td></tr>
<tr class="memdesc:gad2c8d1024db56a0bef97ea47fb07a920"><td class="mdescLeft">&#160;</td><td class="mdescRight">取得ktimer_loop_t实例  <a href="a00122_gad2c8d1024db56a0bef97ea47fb07a920.html#gad2c8d1024db56a0bef97ea47fb07a920">更多...</a><br /></td></tr>
<tr class="separator:gad2c8d1024db56a0bef97ea47fb07a920"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a03cfe3f98b0537ccb1aba830ccee3991"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00102_a03cfe3f98b0537ccb1aba830ccee3991.html#a03cfe3f98b0537ccb1aba830ccee3991">ktimer_set_current_list</a> (<a class="el" href="a00056_a846172ea4e8a86449eca41a3d8e074b7.html#a846172ea4e8a86449eca41a3d8e074b7">ktimer_t</a> *timer, <a class="el" href="a00056_ae098586334a621a23cef7cb17590b618.html#ae098586334a621a23cef7cb17590b618">kdlist_t</a> *list)</td></tr>
<tr class="memdesc:a03cfe3f98b0537ccb1aba830ccee3991"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置定时器所在的当前链表  <a href="a00102_a03cfe3f98b0537ccb1aba830ccee3991.html#a03cfe3f98b0537ccb1aba830ccee3991">更多...</a><br /></td></tr>
<tr class="separator:a03cfe3f98b0537ccb1aba830ccee3991"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a10748c7e8540fef8a8948da8662f7889"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00102_a10748c7e8540fef8a8948da8662f7889.html#a10748c7e8540fef8a8948da8662f7889">ktimer_set_current_list_node</a> (<a class="el" href="a00056_a846172ea4e8a86449eca41a3d8e074b7.html#a846172ea4e8a86449eca41a3d8e074b7">ktimer_t</a> *timer, <a class="el" href="a00056_ac701f00a0851c97467ae35c382b316b7.html#ac701f00a0851c97467ae35c382b316b7">kdlist_node_t</a> *node)</td></tr>
<tr class="memdesc:a10748c7e8540fef8a8948da8662f7889"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置定时器所在的当前链表的链表节点  <a href="a00102_a10748c7e8540fef8a8948da8662f7889.html#a10748c7e8540fef8a8948da8662f7889">更多...</a><br /></td></tr>
<tr class="separator:a10748c7e8540fef8a8948da8662f7889"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a189b9239e148c4eeec1ec910261a3389"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00056_ae098586334a621a23cef7cb17590b618.html#ae098586334a621a23cef7cb17590b618">kdlist_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00102_a189b9239e148c4eeec1ec910261a3389.html#a189b9239e148c4eeec1ec910261a3389">ktimer_get_current_list</a> (<a class="el" href="a00056_a846172ea4e8a86449eca41a3d8e074b7.html#a846172ea4e8a86449eca41a3d8e074b7">ktimer_t</a> *timer)</td></tr>
<tr class="memdesc:a189b9239e148c4eeec1ec910261a3389"><td class="mdescLeft">&#160;</td><td class="mdescRight">取得当前所属链表  <a href="a00102_a189b9239e148c4eeec1ec910261a3389.html#a189b9239e148c4eeec1ec910261a3389">更多...</a><br /></td></tr>
<tr class="separator:a189b9239e148c4eeec1ec910261a3389"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6c3c91cc707a108fc5e01e441bc3513e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00056_ac701f00a0851c97467ae35c382b316b7.html#ac701f00a0851c97467ae35c382b316b7">kdlist_node_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00102_a6c3c91cc707a108fc5e01e441bc3513e.html#a6c3c91cc707a108fc5e01e441bc3513e">ktimer_get_current_list_node</a> (<a class="el" href="a00056_a846172ea4e8a86449eca41a3d8e074b7.html#a846172ea4e8a86449eca41a3d8e074b7">ktimer_t</a> *timer)</td></tr>
<tr class="memdesc:a6c3c91cc707a108fc5e01e441bc3513e"><td class="mdescLeft">&#160;</td><td class="mdescRight">取得当前链表节点  <a href="a00102_a6c3c91cc707a108fc5e01e441bc3513e.html#a6c3c91cc707a108fc5e01e441bc3513e">更多...</a><br /></td></tr>
<tr class="separator:a6c3c91cc707a108fc5e01e441bc3513e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga37901569361ae2a726a1973d7da2d6e5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00056_a846172ea4e8a86449eca41a3d8e074b7.html#a846172ea4e8a86449eca41a3d8e074b7">ktimer_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00122_ga37901569361ae2a726a1973d7da2d6e5.html#ga37901569361ae2a726a1973d7da2d6e5">ktimer_create</a> (<a class="el" href="a00056_a024af2aa29615e7a811ea6c45438157d.html#a024af2aa29615e7a811ea6c45438157d">ktimer_loop_t</a> *ktimer_loop)</td></tr>
<tr class="memdesc:ga37901569361ae2a726a1973d7da2d6e5"><td class="mdescLeft">&#160;</td><td class="mdescRight">创建一个定时器  <a href="a00122_ga37901569361ae2a726a1973d7da2d6e5.html#ga37901569361ae2a726a1973d7da2d6e5">更多...</a><br /></td></tr>
<tr class="separator:ga37901569361ae2a726a1973d7da2d6e5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af64f93b32c31cd222c02f0ad40bb642c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00102_af64f93b32c31cd222c02f0ad40bb642c.html#af64f93b32c31cd222c02f0ad40bb642c">ktimer_destroy</a> (<a class="el" href="a00056_a846172ea4e8a86449eca41a3d8e074b7.html#a846172ea4e8a86449eca41a3d8e074b7">ktimer_t</a> *timer)</td></tr>
<tr class="memdesc:af64f93b32c31cd222c02f0ad40bb642c"><td class="mdescLeft">&#160;</td><td class="mdescRight">销毁定时器  <a href="a00102_af64f93b32c31cd222c02f0ad40bb642c.html#af64f93b32c31cd222c02f0ad40bb642c">更多...</a><br /></td></tr>
<tr class="separator:af64f93b32c31cd222c02f0ad40bb642c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9387b99ff760183fe8b61c8c46d6efc8"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00122_ga9387b99ff760183fe8b61c8c46d6efc8.html#ga9387b99ff760183fe8b61c8c46d6efc8">ktimer_check_dead</a> (<a class="el" href="a00056_a846172ea4e8a86449eca41a3d8e074b7.html#a846172ea4e8a86449eca41a3d8e074b7">ktimer_t</a> *timer)</td></tr>
<tr class="memdesc:ga9387b99ff760183fe8b61c8c46d6efc8"><td class="mdescLeft">&#160;</td><td class="mdescRight">检查定时器是否在回调函数返回即将被销毁  <a href="a00122_ga9387b99ff760183fe8b61c8c46d6efc8.html#ga9387b99ff760183fe8b61c8c46d6efc8">更多...</a><br /></td></tr>
<tr class="separator:ga9387b99ff760183fe8b61c8c46d6efc8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga71282c2dc8bac0935617b1271f4066e6"><td class="memItemLeft" align="right" valign="top">time_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00122_ga71282c2dc8bac0935617b1271f4066e6.html#ga71282c2dc8bac0935617b1271f4066e6">ktimer_loop_get_tick_intval</a> (<a class="el" href="a00056_a024af2aa29615e7a811ea6c45438157d.html#a024af2aa29615e7a811ea6c45438157d">ktimer_loop_t</a> *ktimer_loop)</td></tr>
<tr class="memdesc:ga71282c2dc8bac0935617b1271f4066e6"><td class="mdescLeft">&#160;</td><td class="mdescRight">取得滴答间隔  <a href="a00122_ga71282c2dc8bac0935617b1271f4066e6.html#ga71282c2dc8bac0935617b1271f4066e6">更多...</a><br /></td></tr>
<tr class="separator:ga71282c2dc8bac0935617b1271f4066e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6e263963404ff40c8d7865ba117d3446"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00102_a6e263963404ff40c8d7865ba117d3446.html#a6e263963404ff40c8d7865ba117d3446">ktimer_check_timeout</a> (<a class="el" href="a00056_a846172ea4e8a86449eca41a3d8e074b7.html#a846172ea4e8a86449eca41a3d8e074b7">ktimer_t</a> *timer, time_t ms)</td></tr>
<tr class="memdesc:a6e263963404ff40c8d7865ba117d3446"><td class="mdescLeft">&#160;</td><td class="mdescRight">检查定时器是否超时  <a href="a00102_a6e263963404ff40c8d7865ba117d3446.html#a6e263963404ff40c8d7865ba117d3446">更多...</a><br /></td></tr>
<tr class="separator:a6e263963404ff40c8d7865ba117d3446"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1465f5ddec41fa81c429d1647dc5e7a9"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00122_ga1465f5ddec41fa81c429d1647dc5e7a9.html#ga1465f5ddec41fa81c429d1647dc5e7a9">ktimer_stop</a> (<a class="el" href="a00056_a846172ea4e8a86449eca41a3d8e074b7.html#a846172ea4e8a86449eca41a3d8e074b7">ktimer_t</a> *timer)</td></tr>
<tr class="memdesc:ga1465f5ddec41fa81c429d1647dc5e7a9"><td class="mdescLeft">&#160;</td><td class="mdescRight">停止并销毁定时器  <a href="a00122_ga1465f5ddec41fa81c429d1647dc5e7a9.html#ga1465f5ddec41fa81c429d1647dc5e7a9">更多...</a><br /></td></tr>
<tr class="separator:ga1465f5ddec41fa81c429d1647dc5e7a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8c5900fb62a63dc71cc9f38ac6427ad1"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00122_ga8c5900fb62a63dc71cc9f38ac6427ad1.html#ga8c5900fb62a63dc71cc9f38ac6427ad1">ktimer_start</a> (<a class="el" href="a00056_a846172ea4e8a86449eca41a3d8e074b7.html#a846172ea4e8a86449eca41a3d8e074b7">ktimer_t</a> *timer, <a class="el" href="a00056_a2333fd0f2c3a85faf586300ca40deed4.html#a2333fd0f2c3a85faf586300ca40deed4">ktimer_cb_t</a> cb, void *data, time_t ms)</td></tr>
<tr class="memdesc:ga8c5900fb62a63dc71cc9f38ac6427ad1"><td class="mdescLeft">&#160;</td><td class="mdescRight">启动一个无限次数的定时器  <a href="a00122_ga8c5900fb62a63dc71cc9f38ac6427ad1.html#ga8c5900fb62a63dc71cc9f38ac6427ad1">更多...</a><br /></td></tr>
<tr class="separator:ga8c5900fb62a63dc71cc9f38ac6427ad1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9c37409260a72e3218ae4fcaf44d79bc"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00122_ga9c37409260a72e3218ae4fcaf44d79bc.html#ga9c37409260a72e3218ae4fcaf44d79bc">ktimer_start_once</a> (<a class="el" href="a00056_a846172ea4e8a86449eca41a3d8e074b7.html#a846172ea4e8a86449eca41a3d8e074b7">ktimer_t</a> *timer, <a class="el" href="a00056_a2333fd0f2c3a85faf586300ca40deed4.html#a2333fd0f2c3a85faf586300ca40deed4">ktimer_cb_t</a> cb, void *data, time_t ms)</td></tr>
<tr class="memdesc:ga9c37409260a72e3218ae4fcaf44d79bc"><td class="mdescLeft">&#160;</td><td class="mdescRight">启动一个只超时一次的定时器，超时后将自动销毁  <a href="a00122_ga9c37409260a72e3218ae4fcaf44d79bc.html#ga9c37409260a72e3218ae4fcaf44d79bc">更多...</a><br /></td></tr>
<tr class="separator:ga9c37409260a72e3218ae4fcaf44d79bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga285936846760d9f325e588d2e2105fe5"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00122_ga285936846760d9f325e588d2e2105fe5.html#ga285936846760d9f325e588d2e2105fe5">ktimer_start_times</a> (<a class="el" href="a00056_a846172ea4e8a86449eca41a3d8e074b7.html#a846172ea4e8a86449eca41a3d8e074b7">ktimer_t</a> *timer, <a class="el" href="a00056_a2333fd0f2c3a85faf586300ca40deed4.html#a2333fd0f2c3a85faf586300ca40deed4">ktimer_cb_t</a> cb, void *data, time_t ms, int times)</td></tr>
<tr class="memdesc:ga285936846760d9f325e588d2e2105fe5"><td class="mdescLeft">&#160;</td><td class="mdescRight">启动一个有限次数的定时器，达到times次数后将自动销毁  <a href="a00122_ga285936846760d9f325e588d2e2105fe5.html#ga285936846760d9f325e588d2e2105fe5">更多...</a><br /></td></tr>
<tr class="separator:ga285936846760d9f325e588d2e2105fe5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
生成于 2015年 七月 27日 星期一 14:33:20 , 为 knet使用  &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.9.1
</small></address>
</body>
</html>
